package com.zhy.learning.demo.mapper;

import com.zhy.learning.demo.pojo.User;

/**
 * @author zhy
 * @version 1.0.0
 * @ClassName UserMapper.java
 * @Description TODO
 * @createTime 2021年09月01日 20:16:00
 */
public interface UserMapper {

    User findByName(String name);

    User findById(int id);

    int updateByUser(User user);

    int insert(User user);
}
